﻿'Params
'artist (Required) : The artist name to correct.
'api_key (Required) : A Last.fm API key.

'Auth
' This service does not require authentication. 

Public Structure ArtistGetCorrectionResponse

End Structure

Public Class ArtistGetCorrection
	Inherits BaseRequest
	Dim artist As String

	Public xmlresponse As XDocument = Nothing

	Public Sub New(artist As String)
		Me.artist = artist
	End Sub

	Public Sub sendRequest()
        ClearMembers()

        AddMember("method", "artist.getCorrection")
        AddMember("artist", artist, True)
        AddMember("api_key", My.Settings.api_key, True)

        xmlresponse = sendGETResponse(True)
	End Sub

	Public Function getResponse() As ArtistGetCorrectionResponse

		Return New ArtistGetCorrectionResponse
	End Function

End Class
